home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / windows / dotfax.zip / README.TXT < prev   
Text File  |  1992-12-10  |  2KB  |  62 lines

  1. DOTFAX.ZIP - README.TXT
  2.  
  3. This is an example of a Word for Windows macro to send a fax
  4. using WinFax PRO 3.0.
  5.  
  6. In addition to this file, the ZIP file contains a copy of the
  7. standard WinWord template FAX.DOT that came with WinWord.  
  8. Only two changes have been made to that template:
  9.  
  10. 1.    to change the style applied to the word/paragraph
  11.     "To:" in the left cell of the first line of the table
  12.     that contains the addressee information from the style
  13.     "To" to the style "Normal" (see later explanation for 
  14.     why).
  15.  
  16. 2.    to copy the macro "FaxSend" to the template.
  17.  
  18. You can use this template as-is, or copy the FaxSend macro to
  19. your own cover sheet.  The only requirement of the macro is
  20. that the recipient's name must be formatted with a style that
  21. is called "To" and the destination fax number must be formatted
  22. with a style that is called "ToFax".  In both cases, they must
  23. be the first instance of the use of that style.  Your fax
  24. cover sheet should be set up in a table form similar to this
  25. example so that the styles can be applied to only the relevant
  26. text.
  27.  
  28. What does the macro do?
  29.  
  30. First it asks you if you really want to send a fax.
  31.  
  32. Next it asks if you want to attach a WinWord DOC to the fax.
  33.  
  34. If yes, it offers a selection of DOC files in your DOC
  35. directory and lets you pick one; then inserts a "next page"
  36. section break and inserts the file.  Note that the page
  37. count on the cover sheet is NOT adjusted for this DOC.
  38.  
  39. If no, the macro continues from here.
  40.  
  41. Next the macro looks for WinFax PRO and loads it if
  42. necessary and proceeds to send out the fax.
  43.  
  44. After sending the fax, you will be left with the minimized
  45. WinFax PRO icon in the foreground and you will have to
  46. manually return to WinWord.  I haven't been able to get
  47. the macro to return automagically.  If anyone has got this
  48. secret, please let me know.
  49.  
  50. I don't represent this to be expert code and much of it is 
  51. borrowed from the example in the WinFax PRO documentation
  52. and other references - but it works for me.  I thought it
  53. might be of interest to others trying to get up and
  54. running with 3.0.
  55.  
  56. If you have questions or better ways to do things, I'd sure
  57. love to hear from you.
  58.  
  59. Jim Hanlon
  60. 76127,310
  61.  
  62.